<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix='c' uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type="text/css">
table {
	background-color: #aaa;
	line-height: 25px;
}

thead{
	background: #fff;
}

th {
	background-color: #fff;
}

td {
	background-color: #fff;
	text-align: center
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h1>欢迎光临,Zookeeper</h1>
	<center>
		<table width="100%" cellpadding="0" cellspacing="1">
			<thead>
					<th>服务名</th>
					<th>节点名</th>
					<th>ip</th>
					<th>服务端口</th>
					<th>数量</th>
					<th>运行状态</th>
					<th>操作</th>
			</thead>
			<tbody>
				<c:forEach var="item" items="${nodeList}">
					<tr>
						<td>${item.serverName}</td>
						<td>${item.node}</td>
						<td>${item.ip}</td>
						<td>${item.port}</td>
						<td>${item.num}</td>
						<td>${item.status}</td>
						<td><a href="javascript:void(0);">更新</a> &nbsp<a href="javascript:void(0);">删除</a></td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
	</center>
</body>
</html>